package com.atguigu.dao;

import com.atguigu.base.BaseDao;
import com.atguigu.entity.Dict;

import java.util.List;

/**
 * @author 杨林
 * @create 2022-09-17 9:44 星期六
 * description:
 */
public interface DictDao extends BaseDao<Dict> {

    List<Dict> findZnodes(Long parentId);

    Integer countIsParent(Long id);


    Dict getByDictCode(String dictCode);

    String getNameById(Long id);
}
